]> dgit.raspbian.org Git - gnome-shell.git/commit
data: Create generic org.gnome.Shell.target
authorBenjamin Berg <bberg@redhat.com>
Tue, 9 Jun 2020 11:01:39 +0000 (13:01 +0200)
committerBenjamin Berg <benjamin@sipsolutions.net>
Fri, 31 Jul 2020 13:53:31 +0000 (13:53 +0000)
commit41d5b1455f012e7f5ed75ce37c3e4cb4d73a97ff
tree3713afe126be05cc15f733a2f82b3d0dc58db20e
parentb710c6e275bdfd50d948a17fd46af3d7d3799988
data: Create generic org.gnome.Shell.target

Move the GNOME shell service file adapation for x11/wayland into the
target/service files. This means that the session definition can simply
pull in org.gnome.Shell.target, without having to care about whether it
is starting an X11 or wayland session.

Note that this currently requires fork'ing to do the test. This will
however not be needed in the long term when ConditionEnvironment becomes
available (see https://github.com/systemd/systemd/pull/15817).

We technically do not need to use template units. But doing so means
that the unit can be translated to the app id more easily (though it is
not yet completely clear how this should look like in the long term).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895
data/meson.build
data/org.gnome.Shell-wayland.service.in [deleted file]
data/org.gnome.Shell-wayland.target [deleted file]
data/org.gnome.Shell-x11.service.in [deleted file]
data/org.gnome.Shell-x11.target [deleted file]
data/org.gnome.Shell.target [new file with mode: 0644]
data/org.gnome.Shell@wayland.service.in [new file with mode: 0644]
data/org.gnome.Shell@x11.service.in [new file with mode: 0644]